<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Welcome extends CI_Controller {

    /**
     * Index Page for this controller.
     *
     * Maps to the following URL
     * 		http://example.com/index.php/welcome
     * 	- or -  
     * 		http://example.com/index.php/welcome/index
     * 	- or -
     * Since this controller is set as the default controller in 
     * config/routes.php, it's displayed at http://example.com/
     *
     * So any other public methods not prefixed with an underscore will
     * map to /index.php/welcome/<method_name>
     * @see http://codeigniter.com/user_guide/general/urls.html
     */
    public function __construct() {
        parent::__construct();
        // Init data               
        // Load library template 
        $this->load->library('template');
        $this->template->set_template('default');
    }

    public function index() {
        $this->template->add_css('public/css/screen_preview.css'); 
        $this->template->add_css('public/css/bootstrap.css');
        $this->template->add_css('public/css/bootstrap-responsive.css');
        $this->template->add_css('public/css/font-awesome.css');
        $this->template->add_css('public/css/style.css');

//        $this->template->add_js('public/js/behavior.js');
//        $this->template->add_js('public/js/modernizr.js');
//        $this->template->add_js('public/js/waypoints.min.js');
//        $this->template->add_js('public/js/jquery.knob.js');
//        $this->template->add_js('public/js/jquery.easing.1.3.js');
        $this->template->add_js('public/js/bootstrap.min.js');
        $this->template->add_js('public/js/main.js');

        $this->template->render();
    }

    public function login() {
        $this->load->view('test');
    }

}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */